package com.itheima.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.domain.Setmeal;
import com.itheima.dto.SetmealDto;

import java.util.List;

public interface SetmealService extends IService<Setmeal> {
    void saveWithDish(SetmealDto setmealDto);

    Page getPageWithGategory(int page, int pageSize, String name);

    void delete(List<Long> ids);

    void soldAndStop(List<Long> ids);

    SetmealDto selectById(Long id);

    void updateWithDish(SetmealDto setmealDto);
}